export default {
  tooltip: {
    trigger: 'axis',
    axisPointer: { type: 'shadow' }
  },
  legend: {
    icon: 'rect',
    itemWidth: 10,
    itemHeight: 10,
    data: ['更新总数', '废止', '修订', '新立']
  },
  grid: {
    left: '0',
    right: '0',
    bottom: '3%',
    containLabel: true
  },
  xAxis: [
    {
      show: true,
      axisTick: { show: false },
      axisLine: { show: false },
      axisLabel: {
        show: true,
        textStyle: { color: '#C2E5FF' }
      },
      splitLine: { show: false },
      type: 'category',
      data: ['法律', '行政法规', '地方性法规', '部门法规', '政府法规']
    }
  ],
  yAxis: [
    {
      show: false,
      type: 'value'
    }
  ],
  series: [
    {
      name: '更新总数',
      type: 'bar',
      stack: '更新总数',
      barWidth: '20%',
      data: [320, 332, 301, 334, 390]
    },
    {
      name: '新立',
      type: 'bar',
      stack: '更新总数',
      barWidth: '20%',
      data: [150, 232, 201, 154, 190]
    },

    {
      name: '修订',
      type: 'bar',
      stack: '修订',
      barWidth: '20%',
      data: [220, 182, 191, 234, 290]
    },
    {
      name: '废止',
      type: 'bar',
      stack: '修订',
      barWidth: '20%',
      data: [120, 132, 101, 134, 90]
    }
  ]
}
